package staticFactory;

public class Student {

	private String stuName,stuPwd;
	public Student() {	}

	public Student(String stuName, String stuPwd) {
		this.stuPwd = stuPwd;
		this.stuName = stuName;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStuPwd() {
		return stuPwd;
	}

	public void setStuPwd(String stuPwd) {
		this.stuPwd = stuPwd;
	}

	public String toString() {
		return String.format("学生姓名：%s,学生密码：%s",stuName,stuPwd);
	}
}
